<?php
declare (strict_types = 1);

namespace app\controller;

use think\Request;
use think\Response;

class Ice
{
    /**
     * 生成调用 submitBatchMediaProducingJob 接口的 curl 命令示例
     * @return Response
     */
    public function generateCurlCommand(): Response
    {
        $curlCommand = 'curl -X POST http://your-domain/ice/submit -H "Content-Type: application/json" -d \'{"param1":"value1","param2":"value2"}\'';
        return json(['code' => 1, 'msg' => '生成成功', 'data' => $curlCommand]);
    }
} 